package com.lds.config.center.common.model.cluster.request;

import com.lds.management.center.common.model.pojo.BaseObject;
import lombok.*;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 批量新建 - 请求
 *
 * @author lidongsheng
 * @since 2025-06-26
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ClusterBaseBatchCreateRequest extends BaseObject {
    @NotEmpty(message = "requests不能为空")
    @Valid
    private List<ClusterBaseCreateRequest> requests;
}